﻿using BookMarks.Server.Models.Extend;

namespace BookMarks.Server.Dto;
/// <summary>
/// 响应结果类
/// </summary>
public class ApiResponse
{
    /// <summary>
    /// 响应状态码
    /// </summary>
    public int Code { get; set; }
    /// <summary>
    /// 响应消息
    /// </summary>
    public string Msg { get; set; }
    /// <summary>
    /// 响应数据
    /// </summary>
    public Data Data { get; set; }
}
/// <summary>
/// 数据类
/// </summary>
public class Data
{
    /// <summary>
    /// 唯一标识符
    /// </summary>
    public string Id { get; set; }
    /// <summary>
    /// 基础配置
    /// </summary>
    public BaseConfig BaseConfig { get; set; }
    /// <summary>
    /// 笔记列表
    /// </summary>
    public List<Note> Notes { get; set; }
    /// <summary>
    /// 待办事项列表
    /// </summary>
    public List<Todo> Todo { get; set; }
    /// <summary>
    /// 待办事项文件夹
    /// </summary>
    public List<string> TodoFolder { get; set; }
    /// <summary>
    /// 汇率
    /// </summary>
    public ExchangeRate Exchangerate { get; set; }
    /// <summary>
    /// 导航配置列表
    /// </summary>
    public List<NavConfig> NavConfig { get; set; }
}
